package com.adaxi.adc.business.passengertrip.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.LocalDate;

@Data
@TableName("adc_passenger_trip")
public class AdcPassengerTrip {
    @TableId(value = "id", type = IdType.AUTO)
    private String id;//乘客的行程ID
    @TableField("passenger_id")
    private Long passengerId;//乘客ID
    @TableField("name")
    private String name;//乘客真实姓名
    @TableField("username")
    private String username;//乘客用户名
    @TableField("phone")
    private String phone;//乘客手机号码
    @TableField("passenger_route_id")
    private Long passengerRouteId;//乘客行车路线ID
    @TableField("route")
    private String route;//线路
    @TableField("price")
    private BigDecimal price;//行程费用
    @TableField("start_time")
    private String startTime; //开始时间戳
    @TableField("start_date")
    private String startDate; //开始日期戳
    @TableField("num_passengers")
    private Integer passengerTripNumPassengers; //乘坐人数
    @TableField("status")
    private String status; //行程状态
    @TableField("start_location_name")
    private String startLocationName; //起始地点名称
    @TableField("start_location_longitude")
    private BigDecimal startLocationLongitude; //起始地经度
    @TableField("start_location_latitude")
    private BigDecimal startLocationLatitude; //起始地纬度
    @TableField("vehicle_trip_id")
    private String vehicleTripId; //车辆行程id
    @TableField("is_deleted")
    private Long isDeleted; //逻辑删除字段


    @TableField(exist = false)
    AdcVehicleTrip adcVehicleTrip;//车辆行程表
}